package org.example;

import org.example.bao1.studet;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class test1 {
    @Test
    public void test1(){
        String dz="applicationContext.xml";
        ApplicationContext ac=new ClassPathXmlApplicationContext(dz);
        studet ss= (studet) ac.getBean("mystudet");
        System.out.println(ss);
    }
}
